//---------------------------------------------------------------------------

#ifndef h_licH
#define h_licH
//---------------------------------------------------------------------------

#define LIC_BUF_LEN 1024

void __fastcall EncryptLic(unsigned char Buf[LIC_BUF_LEN]);
void __fastcall DecryptLic(unsigned char Buf[LIC_BUF_LEN]);
void __fastcall MakeLic(unsigned char Buf[LIC_BUF_LEN], const UTF8String &LicUser,
   int ExpireDate, int LicQty, const UTF8String &LicProject);
bool __fastcall GetLic(const unsigned char ABuf[LIC_BUF_LEN], UTF8String &LicUser,
   int &ExpireDate, int &LicQty, UTF8String &LicProject);

#endif
